package com.zgzg.shop.pay.business.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zgzg.shop.pay.base.entity.DdwxMember;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DdwxMemberMapper extends BaseMapper<DdwxMember> {

    //    @Select("select *  from  object_version  where doc_id=#{docId} and version_num=#{version} limit 1;")
//    ObjectVersion selectByVersion(@Param("docId") Long docId, @Param("version") Integer version);
//
//    List selectAllByVersion(@Param("docId") Long docId, @Param("version") Integer version);



    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ddwx_member
     *
     * @mbg.generated Mon Sep 16 20:11:59 CST 2024
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ddwx_member
     *
     * @mbg.generated Mon Sep 16 20:11:59 CST 2024
     */
    int insert(DdwxMember record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ddwx_member
     *
     * @mbg.generated Mon Sep 16 20:11:59 CST 2024
     */
    DdwxMember selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ddwx_member
     *
     * @mbg.generated Mon Sep 16 20:11:59 CST 2024
     */
    List<DdwxMember> selectAll();

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table ddwx_member
     *
     * @mbg.generated Mon Sep 16 20:11:59 CST 2024
     */
    int updateByPrimaryKey(DdwxMember record);
}